package nz.co.doherty.gwtpbreadcrumbs.server.guice;

import com.google.inject.servlet.ServletModule;
import com.philbeaudoin.gwtp.dispatch.server.DispatchServiceImpl;
import com.philbeaudoin.gwtp.dispatch.shared.ActionImpl;

public class DispatchServletModule extends ServletModule {
	@Override
	public void configureServlets() {
		serve("/gwtpbreadcrumbs/" + ActionImpl.DEFAULT_SERVICE_NAME + "*")
				.with(DispatchServiceImpl.class);
	}
}
